package org.zeroes.common_prelude;

public class vector2 {

	public float x;
	public float y;
	
	public vector2(float x,float y){
		this.x=x;
		this.y=y;
	}
	
	public vector2 offset(float px,float py){
		this.x += px;
		this.y += py;
		return this;
		
	}
	public vector2 mul(float px,float py){
		
		this.x *= px;
		this.y *= py;
		return this;
	}
}
